package com.java8feature.java8action.chapter1;

import org.omg.CORBA.Object;

/**
 * @Description:
 * @Author: yangzhiwei
 * @Date: 2021/5/16 9:24
 */
public class Apple1<T> {

    T[] arr;

    public void  set (T a) {
        arr = (T[])new Object[1];
    }
    public <T>  T[] get() {
        return (T[]) arr;
    }
}
